This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
I have replaced the code as explained by JonB in your link :
Function GetBoundary (header As String) As String
'** get the boundary from the initial header of a multi-part MIME string
'** normally, the format in Notes is something like:
'** Content-Type: multipart/related; boundary="=_related 0012868C85256E16_="
Dim boundary As String
boundary = StrRight(header, "boundary=""")
'** we want everything from the boundary=" to the closing "
If (InStr(boundary, """") > 0) Then
boundary = StrLeft(boundary, """")
End If
If (Len(boundary) > 0) Then
boundary = "--" & boundary
End If
GetBoundary = boundary
End Function
by
Function GetBoundary (header As String) As String
'** get the boundary from the initial header of a multi-part MIME string
'** normally, the format in Notes is something like:
'** Content-Type: multipart/related; boundary="=_related 0012868C85256E16_="
Dim boundary As String
boundary = StrRight(header, "boundary=""")
If (Len(boundary)=0) Then
boundary = StrRight(header,”boundary=”,1)
boundary = StrLeft(boundary,Chr(13))
End If
'** we want everything from the boundary=" to the closing "
If (InStr(boundary, """") > 0) Then
boundary = StrLeft(boundary, """")
End If
If (Len(boundary) > 0) Then
boundary = "--" & boundary
End If
GetBoundary = boundary
End Function
but I get the same result.
I created an email with GMAIL containing:
- A subject "TEST"
- A body with "THE BODY MAIL"
Here is the eml file :
Received: from mailhost.ceriel.fr ([81.252.145.50])
by CERIDOM.ceriel.fr.msft (Lotus Domino Release 8.5.3FP4)
with SMTP id 2013072516231264-69219 ;
Thu, 25 Jul 2013 16:23:12 +0200
Received: from mailhost.ceriel.fr ([81.252.145.50])
by CERIDOM.ceriel.fr.msft (Lotus Domino Release 8.5.3FP4)
with SMTP id 2013072516231264-69219 ;
Thu, 25 Jul 2013 16:23:12 +0200
Received: from mailhost.ceriel.fr ([81.252.145.50])
by CERIDOM.ceriel.fr.msft (Lotus Domino Release 8.5.3FP4)
with SMTP id 2013072516231264-69219 ;
Thu, 25 Jul 2013 16:23:12 +0200
Received: from mailhost.ceriel.fr ([81.252.145.50])
by CERIDOM.ceriel.fr.msft (Lotus Domino Release 8.5.3FP4)
with SMTP id 2013072516231264-69219 ;
Thu, 25 Jul 2013 16:23:12 +0200
Date: Thu, 25 Jul 2013 16:23:45 +0200
Message-ID: <CALD5Z-zFhrpLF4HiOyZhdPnS1aS6NW8befTJMkvNHJ_QLR_5EA@mail.gmail.com>
Subject: TEST
From: test test <julienus76@gmail.com>
To: mcarpentier@ceriel.fr
Content-Type: multipart/alternative;
boundary=047d7bdc93ca17a41704e256c6e8
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type;
bh=6xPE3GdpbZbd9ulFyrvYmGOv95Q48Z/gxd4EPoUA6fs=; b=K7bR1C3C5S9YZ+sjC09j/iIAMbx33uzklUlOkaibyNB1JEI4603e+QHUGBWrFgjsZe
QtQ4vAgyw3VixbPeU0+1J9xiPeaqMX7s1BfosAj2NnSfTOF8udOTk4r+IOliKk+6rnDY RCvQNWct3wp30sVldL+y3XMktfLlL62eHVimVQVS5Vc4obe+IlcZfddyju9zHssf27WJ
oyUcBNdNumXCOahaSY85sGaYg5Tk+eYHyAuHKwxEuks3nx8rxiLL1Lq0vjae5BRmnfJN l6jlCUDigYIob7Ej6jUAlNJrhweA7vinm6ifwBRdrOQUviGmaFbntwPn5vSeZtVvMugx
aAXw==
MIME-Version: 1.0
X-Received: by 10.66.192.132 with SMTP id hg4mr15455301pac.84.1374762225343;Thu, 25 Jul 2013 07:23:45 -0700 (PDT)
X-eSafe-Spam-Methods: [mailhost.ceriel.fr] CT Used | SS=1,RU=1,SU=1,TA=1,MH=1,SA=1,FC=1,BC=1,CS=1,AA=1,PA=1,FP=1,FF=1
X-eSafe-Spam-Info: [mailhost.ceriel.fr] X-CTCH-RefID: str=0001.0A0B0208.51F134F2.00E4,ss=1,fgs=0 ,SPM=Unknown ,VOD=Unknown
| OF=Scan(7)
X-ESAFE-STATUS: [mailhost.ceriel.fr] Mail clean
X-MIMETrack: Itemize by SMTP Server on CERIDOM/SERVEURS/CERIEL_SA(Release 8.5.3FP4|March
27, 2013) at 25/07/2013 16:23:12
X-TNEFEvaluated: 1
X-Notes-Item: 1; name=$NoteHasNativeMIME
X-Notes-Item: 58A262A6:583D9408-606FB60B:0F394D21; name=$INetOrig; type=4
X-Notes-Item: Thu, 25 Jul 2013 16:23:45 +0200; name=$Created; type=400
X-Notes-Item: julienus76@gmail.com; name=SMTPOriginator; flags=44
X-Notes-Item: Memo; name=Form
X-Notes-Item: CN=CERIDOM/OU=SERVEURS/O=CERIEL_SA; name=$UpdatedBy; type=501; flags=44
X-Notes-Item: E280B42E:6F952A6D-C1257BB3:004F0780; name=$Orig; type=4
X-Notes-Item: ; name=Categories; type=501
X-Notes-Item: ; name=$Revisions; type=401
X-Notes-Item: CN=CERIDOM/OU=SERVEURS/O=CERIEL_SA; name=RouteServers; type=501; flags=0
X-Notes-Item: 25-Jul-2013 16:23:12 CEDT/25-Jul-2013 16:23:12 CEDT; name=RouteTimes;
type=401; flags=0
X-Notes-Item: 2; name=$MsgTrackFlags
X-Notes-Item: Thu, 25 Jul 2013 16:23:12 +0200; name=DeliveredDate; type=400
X-Notes-Item: THE BODY MAIL; name=$Abstract; flags=6
X-Notes-Item: 58A262A6:583D9408-606FB60B:0F394D21; name=$TUA; type=4
Content-Type: text/plain; charset=ISO-8859-1
THE BODY MAIL
Content-Type: text/html; charset=ISO-8859-1
<div dir="ltr">THE BODY MAIL</div>
The result in OUTLOOK of this eml file :
Content-Type: text/plain; charset=ISO-8859-1
THE BODY MAIL
Content-Type: text/html; charset=ISO-8859-1
<div dir="ltr">THE BODY MAIL</div>
Feedback response number WEBB99XJDD created by ~Howard Minfooburoni on 07/25/2013